package com.swotplus.system.weixin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hugang
 * @since 2020-06-04
 */
@TableName("wxcms_msg_news")
public class WxcmsMsgNews implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 单图文多图文类型
     */
	private String multType;
	private String title;
	private String author;
	private String brief;
	private String description;
	private String picPath;
	private Integer showPic;
	private String url;
	private String fromUrl;
	private Integer baseId;
    /**
     * 上传后返回的媒体素材id
     */
	private String mediaId;
    /**
     * 封面图片id
     */
	private String thumbMediaId;
    /**
     * 多图文中的第几条
     */
	private Integer newsIndex;
	private String account;
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMultType() {
		return multType;
	}

	public void setMultType(String multType) {
		this.multType = multType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getBrief() {
		return brief;
	}

	public void setBrief(String brief) {
		this.brief = brief;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public Integer getShowPic() {
		return showPic;
	}

	public void setShowPic(Integer showPic) {
		this.showPic = showPic;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getFromUrl() {
		return fromUrl;
	}

	public void setFromUrl(String fromUrl) {
		this.fromUrl = fromUrl;
	}

	public Integer getBaseId() {
		return baseId;
	}

	public void setBaseId(Integer baseId) {
		this.baseId = baseId;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getThumbMediaId() {
		return thumbMediaId;
	}

	public void setThumbMediaId(String thumbMediaId) {
		this.thumbMediaId = thumbMediaId;
	}

	public Integer getNewsIndex() {
		return newsIndex;
	}

	public void setNewsIndex(Integer newsIndex) {
		this.newsIndex = newsIndex;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "WxcmsMsgNews{" +
			", id=" + id +
			", multType=" + multType +
			", title=" + title +
			", author=" + author +
			", brief=" + brief +
			", description=" + description +
			", picPath=" + picPath +
			", showPic=" + showPic +
			", url=" + url +
			", fromUrl=" + fromUrl +
			", baseId=" + baseId +
			", mediaId=" + mediaId +
			", thumbMediaId=" + thumbMediaId +
			", newsIndex=" + newsIndex +
			", account=" + account +
			", createTime=" + createTime +
			"}";
	}
}
